package org.amos.kafka.callback;

import org.springframework.kafka.support.SendResult;

public interface SendCallback {
    void onSuccess(SendResult<String, Object> result);

    void onFailure(SendResult<String, Object> result, Throwable ex);
}
